package com.ybg.base.util;
import java.util.ArrayList;
import java.util.List;

/** 这个是列表树形式显示的实体, 这里的字段是在前台显示所有的,可修改
 * 
 * @author lanyuan Email：mmm333zzz520@163.com date：2014-11-20 */
public class TreeVO {
	
	private String				id;
	private String				parentId;
	private String				name;
	private String				parentName;
	private String				resKey;
	private String				resUrl;
	private Integer				level;
	private String				type;
	private String				description;
	private String				icon;
	private Integer				ishide;
	private String				colorclass;
	private List<TreeVO>	children	= new ArrayList<TreeVO>();
	
	public String getId() {
		return id;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	
	public String getParentId() {
		return parentId;
	}
	
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	
	public List<TreeVO> getChildren() {
		return children;
	}
	
	public void setChildren(List<TreeVO> children) {
		this.children = children;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getParentName() {
		return parentName;
	}
	
	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
	
	public String getResKey() {
		return resKey;
	}
	
	public void setResKey(String resKey) {
		this.resKey = resKey;
	}
	
	public String getResUrl() {
		return resUrl;
	}
	
	public void setResUrl(String resUrl) {
		this.resUrl = resUrl;
	}
	
	public Integer getLevel() {
		return level;
	}
	
	public void setLevel(Integer level) {
		this.level = level;
	}
	
	public String getType() {
		return type;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	public String getDescription() {
		return description;
	}
	
	public void setDescription(String description) {
		this.description = description;
	}
	
	public Integer getIshide() {
		return ishide;
	}
	
	public void setIshide(Integer ishide) {
		this.ishide = ishide;
	}
	
	public String getIcon() {
		return icon;
	}
	
	public void setIcon(String icon) {
		this.icon = icon;
	}
	
	public String getColorclass() {
		return colorclass;
	}
	
	public void setColorclass(String colorclass) {
		this.colorclass = colorclass;
	}
	
	@Override
	public String toString() {
		return "TreeObject [id=" + id + ", parentId=" + parentId + ", name=" + name + ", parentName=" + parentName + ", resKey=" + resKey + ", resUrl=" + resUrl + ", level=" + level + ", type=" + type + ", description=" + description + ", icon=" + icon + ", ishide=" + ishide + ", colorclass=" + colorclass + ", children=" + children + "]";
	}
}
